LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
IndexOf Method
See Also 
Leadtools Namespace > RasterCollection<T> Class : IndexOf Method



item
Object to test.
item
Object to test.
Returns the index of the specified item if it is found in the collection.

Syntax

Visual Basic (Declaration) 
Public Overridable Function IndexOf( _
   ByVal item As T _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As RasterCollection(Of T)
Dim item As T
Dim value As Integer
 
value = instance.IndexOf(item)
C# 
public virtual int IndexOf( 
   T item
)
C++/CLI 
public:
virtual int IndexOf( 
   T^ item
) 

Parameters

item
Object to test.

Return Value

The index of the specified item if it is found in the collection.

Example

For an example, refer to RasterCollection<T>.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also